package com.esd.csair;

import java.io.Serializable;

import com.gargoylesoftware.htmlunit.html.HtmlElement;
import com.gargoylesoftware.htmlunit.html.HtmlPage;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

public class CsairPage implements Serializable, Cloneable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2163814255303314914L;
	private HtmlPage htmlPage;
	private CS LS;
	private CS PRE;
	private HtmlElement parent;
	private Object data;
	private JSONObject jsonObject;
	private JSONArray jsonArray;

	public JSONArray getJsonArray() {
		return jsonArray;
	}

	public void setJsonArray(JSONArray jsonArray) {
		this.jsonArray = jsonArray;
	}

	public JSONObject getJsonObject() {
		return jsonObject;
	}

	public void setJsonObject(JSONObject jsonObject) {
		this.jsonObject = jsonObject;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public HtmlElement getParent() {
		return parent;
	}

	public void setParent(HtmlElement parent) {
		this.parent = parent;
	}

	public HtmlPage getHtmlPage() {
		return htmlPage;
	}

	public void setHtmlPage(HtmlPage htmlPage) {
		this.htmlPage = htmlPage;
	}

	public Boolean isNull() {
		if (htmlPage == null) {
			return Boolean.TRUE;
		} else {
			return Boolean.FALSE;
		}
	}

	public CS getLS() {
		return LS;
	}

	public void setLS(CS lS) {
		LS = lS;
	}

	public CS getPRE() {
		return PRE;
	}

	public void setPRE(CS pRE) {
		PRE = pRE;
	}

}
